<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>播放</title>
</head>
<body>
    <audio src="../raw/a.mp3" controls="controls">浏览器不支持</audio>
    <button type="button" onclick="big()">放大</button>
    <button type="button" onclick="small()">缩小</button>
    <video id="video" controls="controls" width="400" height="300">
        <source src="../raw/star.mp4">
    </video>
    <script>
        let video = document.getElementById("video");
        function big(){
            video.width = 800;
            video.height = 600;
        }

        function small(){
            video.width = 200;
            video.height = 150;
        }

    </script>
</body>
</html>
